﻿using System;
using System.Linq;
using System.Text;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using SqlSugar;

namespace Aioms.Dtos
{
    ///<summary>
    /// 巡检点的巡检项结果
    ///</summary>
    public class InspectionPointOptionResultDto
    {
        public InspectionPointOptionResultDto()
        {
        }

        /// <summary>
        /// Desc:企业id
        /// Default:
        /// Nullable:True
        /// </summary>     
        [FromForm(Name = "eid")]
        [JsonProperty("eid")]
        public int Eid { get; set; }

        /// <summary>
        /// 工单ID
        /// </summary> 
        [FromForm(Name = "woid")]
        [JsonProperty("woid")]
        public int Woid { get; set; }

        /// <summary>
        /// 巡检路线ID
        /// </summary> 
        [FromForm(Name = "ilid")]
        [JsonProperty("ilid")]
        public int Ilid { get; set; }

        /// <summary>
        /// Desc:巡检点id
        /// Default:
        /// Nullable:True
        /// </summary> 
        [FromForm(Name = "ipid")]
        [JsonProperty("ipid")]
        public int Ipid { get; set; }

        /// <summary>
        /// Desc:巡检项id
        /// Default:
        /// Nullable:True
        /// </summary> 
        //[FromForm(Name = "ipoid")]
        //[JsonProperty("ipoid")]
        //public int Ipoid { get; set; }

        /// <summary>
        /// 进度
        /// </summary>           
        [FromForm(Name = "progress")]
        [JsonProperty("progress")]
        public string Progress { get; set; }

        /// <summary>
        /// 巡检结果JSON格式字符串
        /// </summary>           
        [FromForm(Name = "result")]
        [JsonProperty("result")]
        public string Result { get; set; }

    }
}
